home *** CD-ROM | disk | FTP | other *** search
/ Gigarom 4 / Mac Giga-ROM 4.0 - 1993.toast / FILES / BUS / A-E / Doubleclick1.2 / DoubleClick1.2ƒ / DoubleClick Docs.txt next >
Encoding:
Text File  |  1990-01-09  |  2.9 KB  |  59 lines  |  [TEXT/ttxt]

  1. DoubleClick  -  Technical Note
  2.  
  3. DoubleClick    Version 1.2                                   4th Dimension® External 
  4. ***Freeware***
  5.  
  6. Written by:        Howard E. Sander III                                       January 7, 1990
  7.                                                                             Modified: January 9,1990
  8.  
  9. DESCRIPTION:
  10. DoubleClick returns an integer value of 0 or 1 to the variable passed to it.
  11. If a mouse click occurs immediately after DoubleClick is called, the variable passed to DoubleClick will return a 1 given the following conditions. 1) The time elapsed between the call to DoubleClick and a mouse-click is less than 15 ticks (a tick is equal to one sixtieth of a second).   2) The vertical location of the mouse dose not move more that 1 pixel.  If those two conditions are not met then the variable will equal 0.
  12.  
  13. If that description sounds more like a single-click function it's because that is what it really is, but who would want an external called SingleClick?
  14.  
  15. If you have ever tried checking for a double-click on a 4D scrollable area then you know why I call this external DoubleClick.
  16.  
  17.  
  18. SYNTAX:
  19. DoubleClick(numvar)
  20.                                   numvar : integer variable
  21.                                   This is the integer used to test for the mouse click.
  22.  
  23. EXAMPLE: A 4D scrollable Area Script
  24. DoubleClick(vDblClick)
  25. If(vDblClick=1)
  26.    `A double-click occurred on a list element
  27.    `so process the code for that action.
  28. End if
  29.  
  30.  
  31. Installation:
  32. You can install DoubleClick directly into your application database or 4D application by using the 4D External Mover.  If you only want it installed in a specific database application, choose the respective database name resource file and install it there.  Hold down the option key before opening the resource file, otherwise, it will not show up in the choose-file dialog box.
  33.  
  34. Note: Please read the 4D Manual about how to install an external procedure if you have not done this before.
  35.  
  36.  
  37. Copyright:
  38. This external is Copyright© 1989 Howard E. Sander III and provided under the following conditions :
  39.  
  40. a)   This external is freeware.  Enjoy.
  41.  
  42. b)   You may  post this external on any private or public Commercial OR non-commercial bulletin board or service, provided, this Technical Note accompanies the software, and Howard E. Sander III is identified as the author of the work.
  43.  
  44. c)   You may not remove or modify any of the identifying copyright notices, labels or marks.
  45.  
  46. d)   You may not resell, this external to the general public without prior written permission from the author.
  47.  
  48. Warranty:
  49. All externals are provided "as is" without warranty of any kind, either express or implied, including, but not limited to, the implied warranties of merchantability or fitness for a particular purpose.
  50.  
  51. Online Support:
  52.     CIS : 76675,233
  53.     MacNET  :  SOFTRAK    
  54.     
  55. Howard E. Sander III
  56. 1209 N.E. 10th Street
  57. Blue Springs, MO 64015  
  58. (816)228-9615
  59.